﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Gallio.Model;

namespace NFit.GallioAdapter
{
    /// <summary>
    /// Builds a test object model
    /// </summary>
    public class NFitTestFramework : BaseTestFramework
    {
        // {ED4DCF0D-10B2-4f88-8302-FE97624B5004}
        private Guid nfitguid = new Guid("{ED4DCF0D-10B2-4f88-8302-FE97624B5004}");
                
        /// <inheritdoc />          
        public override Guid Id
        {
            get { return nfitguid; }
        }

        /// <inheritdoc />          
        public override string Name
        {
            get { return NFitExplorerState.NFitFrameworkName; }
        }

        /// <inheritdoc />         
        public override ITestExplorer CreateTestExplorer(TestModel testModel)
        {
            Console.WriteLine("Instantiating NFit Gallio adapter");
            return new NFitTestExplorer(testModel);
        } 
    }
}
